package com.ziki.bswicket.component;

import java.util.List;

import org.apache.wicket.markup.html.form.IChoiceRenderer;

import com.ziki.framework.wicket.markup.html.form.FwChoiceData;
import com.ziki.framework.wicket.markup.html.form.FwDropDownChoice;

public class BsDropDown<T> extends FwDropDownChoice<T> {

    // public BsDropDown(String id, IModel<? extends List<? extends T>> choices,
    // IChoiceRenderer<? super T> renderer) {
    // super(id, choices, renderer);
    // }
    //
    // public BsDropDown(String id, IModel<? extends List<? extends T>> choices)
    // {
    // super(id, choices);
    // }
    //
    // public BsDropDown(String id, IModel<T> model, IModel<? extends List<?
    // extends T>> choices, IChoiceRenderer<? super T> renderer) {
    // super(id, model, choices, renderer);
    // }
    //
    // public BsDropDown(String id, IModel<T> model, IModel<? extends List<?
    // extends T>> choices) {
    // super(id, model, choices);
    // }
    //
    // public BsDropDown(String id, IModel<T> model, List<? extends T> choices,
    // IChoiceRenderer<? super T> renderer) {
    // super(id, model, choices, renderer);
    // }
    //
    // public BsDropDown(String id, IModel<T> model, List<? extends T> choices)
    // {
    // super(id, model, choices);
    // }

    private static final long serialVersionUID = 1L;

    public BsDropDown(String id, List<? extends T> choices, IChoiceRenderer<? super T> renderer) {
        super(id, choices, renderer);
    }

    public BsDropDown(String id, List<? extends T> choices) {
        super(id, choices);
    }

    public BsDropDown(String id) {
        super(id);
    }

    public BsDropDown(String id, FwChoiceData<T> choices) {
        super(id, choices.getList(), choices.getChoiceRender());
    }

}
